package cn.taofuxn.sale.controller.data;

import cn.taofuxn.sale.bean.TbGoods;
import io.swagger.annotations.ApiModel;
import org.hibernate.validator.constraints.NotBlank;

/**
 * ProjectName : GeekSaleSystem
 * PackageName : cn.taofuxn.sale.controller.data
 * Created by Wong
 * Date: 2018/4/4
 * Time: 17:30
 */
@ApiModel
public class AddGoodsRequest {
	
	/**
	 * 商品简称名称
	 */
	@NotBlank
	private String name;
	
	/**
	 * 供应商ID
	 */
	@NotBlank
	private String producerId;
	
	/**
	 * 商品代销价格
	 */
	private float providerPrice;
	/**
	 * 销售单价
	 */
	private float price;
	
	/**
	 * 商品折扣价
	 */
	private float discountPrice;
	
	public float getDiscountPrice() {
		return discountPrice;
	}
	
	public void setDiscountPrice(final float vDiscountPrice) {
		discountPrice = vDiscountPrice;
	}
	
	private TbGoods.PlatformType platform;
	
	public String getName() {
		return name;
	}
	
	public void setName(final String vName) {
		name = vName;
	}
	
	public String getProducerId() {
		return producerId;
	}
	
	public void setProducerId(final String vProducerId) {
		producerId = vProducerId;
	}
	
	public float getProviderPrice() {
		return providerPrice;
	}
	
	public void setProviderPrice(final float vProviderPrice) {
		providerPrice = vProviderPrice;
	}
	
	public float getPrice() {
		return price;
	}
	
	public void setPrice(final float vPrice) {
		price = vPrice;
	}
	
	public TbGoods.PlatformType getPlatform() {
		return platform;
	}
	
	public void setPlatform(final TbGoods.PlatformType vPlatform) {
		platform = vPlatform;
	}
}
